#!/usr/bin/python
import subprocess

class gg(subprocess.Popen):
    def fq(self):
        print 'no-----------'
        pass

g = gg('ls')
fn = g.fq
fn()
